/* ---------------------------------------------------------------------------------------------
 *
 *            Capital Alliance Software Confidential Proprietary
 *            (c) Copyright CAS 201{x}, All Rights Reserved
 *                          www.pekall.com
 *
 * ----------------------------------------------------------------------------------------------
 */
package com.pekall.todo.model;

import java.io.Serializable;

/**
 * 待办事项model类
 * 
 * @author leikang
 * 
 */
public class ToDoTasks implements Serializable {
	private static final long serialVersionUID = -8756271217770496142L;

	private int id;
	private String title;
	private int state;
	private long alarm;
	private long begin;
	private long over;
	private long priority;
	private String notes;
	private long reminder;
	private long created;
	private long modified;
	private int type;
	private boolean isChecked;

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the state
	 */
	public int getState() {
		return state;
	}

	/**
	 * @param state
	 *            the state to set
	 */
	public void setState(int state) {
		this.state = state;
	}

	/**
	 * @return the alarm
	 */
	public long getAlarm() {
		return alarm;
	}

	/**
	 * @param alarm
	 *            the alarm to set
	 */
	public void setAlarm(long alarm) {
		this.alarm = alarm;
	}

	/**
	 * @return the begin
	 */
	public long getBegin() {
		return begin;
	}

	/**
	 * @param begin
	 *            the begin to set
	 */
	public void setBegin(long begin) {
		this.begin = begin;
	}

	/**
	 * @return the over
	 */
	public long getOver() {
		return over;
	}

	/**
	 * @param over
	 *            the over to set
	 */
	public void setOver(long over) {
		this.over = over;
	}

	/**
	 * @return the priority
	 */
	public long getPriority() {
		return priority;
	}

	/**
	 * @param priority
	 *            the priority to set
	 */
	public void setPriority(long priority) {
		this.priority = priority;
	}

	/**
	 * @return the notes
	 */
	public String getNotes() {
		return notes;
	}

	/**
	 * @param notes
	 *            the notes to set
	 */
	public void setNotes(String notes) {
		this.notes = notes;
	}

	/**
	 * @return the reminder
	 */
	public long getReminder() {
		return reminder;
	}

	/**
	 * @param reminder
	 *            the reminder to set
	 */
	public void setReminder(long reminder) {
		this.reminder = reminder;
	}

	/**
	 * @return the created
	 */
	public long getCreated() {
		return created;
	}

	/**
	 * @param created
	 *            the created to set
	 */
	public void setCreated(long created) {
		this.created = created;
	}

	/**
	 * @return the modified
	 */
	public long getModified() {
		return modified;
	}

	/**
	 * @param modified
	 *            the modified to set
	 */
	public void setModified(long modified) {
		this.modified = modified;
	}

	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(int type) {
		this.type = type;
	}

	/**
	 * @return the isChecked
	 */
	public boolean isChecked() {
		return isChecked;
	}

	/**
	 * @param isChecked
	 *            the isChecked to set
	 */
	public void setChecked(boolean isChecked) {
		this.isChecked = isChecked;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "ToDoTasks [alarm=" + alarm + ", begin=" + begin + ", created="
				+ created + ", id=" + id + ", isChecked=" + isChecked
				+ ", modified=" + modified + ", notes=" + notes + ", over="
				+ over + ", priority=" + priority + ", reminder=" + reminder
				+ ", state=" + state + ", title=" + title + ", type=" + type
				+ "]";
	}

}